using System;
using System.Collections.Generic;
using System.Text;
using System.Data.Odbc;

namespace Midapex.SmartOrm.Provider
{
    class OdbcSession:OrmSession
    {
        public override System.Data.Common.DbConnection CreateDbConnection()
        {
            return new OdbcConnection(this.dbConnString);
        }

        public override System.Data.Common.DbCommand CreateDbCommand(string sql)
        {
            return new OdbcCommand(sql);
        }
    }
}
